STEP 11: That's a long pause before flipping. Let's shorten the wait!

  • Find the line stage.wait(2) in your code below.
  • Change the number in .wait() from 2 to 0.75.

A number that has fractional or decimal parts is called a float. 0.75 is a float, not an integer!

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("concert") sprite = codesters.Sprite("person1") sprite.set_speed(3) sprite.move_down(100) sprite.flip_up_down() sprite.move_right(150) sprite.move_left(200) sprite.flip_up_down() sprite.turn_left(360) stage.wait(2) sprite.flip_right_left()
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)